Fix tooltip triggering
authorMatthias Clasen <mclasen@redhat.com>
Sun, 15 Nov 2020 14:34:25 +0000 (09:34 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 15 Nov 2020 15:54:36 +0000 (10:54 -0500)
commitb30715da6a6436fd4fd89c4aa25cc961112f5579
tree34947dd9534bb693272ee29cb3598137bb84d596
parentdd0a854bbb1c20b33327df262afee15b3b110a47
Fix tooltip triggering

Ever since 5b5d2665d373c35f, tooltips don't work properly,
since we get more motion events now, and those keep the
tooltips from appearing. This can be seen e.g. on the icon
in the password entry in widget-factory, or on the section
switcher buttons in the Emoji chooser.

Ignore synthetic motion events for the purposes of
determining whether the user moved the mouse.
gtk/gtktooltip.c